package com.yuda.common.core.domain;

import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 dp_ques_index_mapping
 *
 * @author wyn
 * @date 2021-05-12
 */
public class DpQuesIndexMapping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 科目id */
    @Excel(name = "科目id")
    private Long subjectId;

    /** 关联的学科Id */
    @Excel(name = "关联的学科Id")
    private Long subjectRelationId;

    /** 问题id */
    @Excel(name = "问题id")
    private Long questionId;

    /** 题型  0 单选 1不定选 2分屏题 */
    @Excel(name = "题型  0 单选 1不定选 2分屏题")
    private Long questionType;

    /** $column.columnComment */
    @Excel(name = "题型  0 单选 1不定选 2分屏题")
    private String quesIndex;

    /** $column.columnComment */
    @Excel(name = "题型  0 单选 1不定选 2分屏题")
    private BigDecimal fullScore;

    /** 题目标题 */
    @Excel(name = "题目标题")
    private String title;

    /** $column.columnComment */
    @Excel(name = "题目标题")
    private String rightAnswer;

    /** 父类QuesId */
    @Excel(name = "父类QuesId")
    private String parentQuesId;

    /** $column.columnComment */
    @Excel(name = "父类QuesId")
    private Long selectQues;

    /** 问题id */
    @Excel(name = "问题id")
    private Long quesId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSubjectId(Long subjectId)
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId()
    {
        return subjectId;
    }
    public void setSubjectRelationId(Long subjectRelationId)
    {
        this.subjectRelationId = subjectRelationId;
    }

    public Long getSubjectRelationId()
    {
        return subjectRelationId;
    }
    public void setQuestionId(Long questionId)
    {
        this.questionId = questionId;
    }

    public Long getQuestionId()
    {
        return questionId;
    }
    public void setQuestionType(Long questionType)
    {
        this.questionType = questionType;
    }

    public Long getQuestionType()
    {
        return questionType;
    }
    public void setQuesIndex(String quesIndex)
    {
        this.quesIndex = quesIndex;
    }

    public String getQuesIndex()
    {
        return quesIndex;
    }
    public void setFullScore(BigDecimal fullScore)
    {
        this.fullScore = fullScore;
    }

    public BigDecimal getFullScore()
    {
        return fullScore;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setRightAnswer(String rightAnswer)
    {
        this.rightAnswer = rightAnswer;
    }

    public String getRightAnswer()
    {
        return rightAnswer;
    }
    public void setParentQuesId(String parentQuesId)
    {
        this.parentQuesId = parentQuesId;
    }

    public String getParentQuesId()
    {
        return parentQuesId;
    }
    public void setSelectQues(Long selectQues)
    {
        this.selectQues = selectQues;
    }

    public Long getSelectQues()
    {
        return selectQues;
    }
    public void setQuesId(Long quesId)
    {
        this.quesId = quesId;
    }

    public Long getQuesId()
    {
        return quesId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectId", getSubjectId())
            .append("subjectRelationId", getSubjectRelationId())
            .append("questionId", getQuestionId())
            .append("questionType", getQuestionType())
            .append("quesIndex", getQuesIndex())
            .append("fullScore", getFullScore())
            .append("title", getTitle())
            .append("rightAnswer", getRightAnswer())
            .append("parentQuesId", getParentQuesId())
            .append("selectQues", getSelectQues())
            .append("quesId", getQuesId())
            .toString();
    }
}
